using SqlSugar;

namespace ByteSite.Entitys
{
    /// <summary>
    /// 微信公众平台账户
    /// </summary>
    public class dt_weixin_account
    {
        /// <summary>
        /// 微信公众平台账户
        /// </summary>
        public dt_weixin_account()
        {
        }

        /// <summary>
        /// 自增ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 id { get; set; }

        /// <summary>
        /// 公众号名称
        /// </summary>
        public System.String name { get; set; }

        /// <summary>
        /// 公众号原始ID
        /// </summary>
        public System.String originalid { get; set; }

        /// <summary>
        /// 微信号
        /// </summary>
        public System.String wxcode { get; set; }

        /// <summary>
        /// 令牌必须与微信平台对应
        /// </summary>
        public System.String token { get; set; }

        /// <summary>
        /// appid(仅用于高级接口)
        /// </summary>
        public System.String appid { get; set; }

        /// <summary>
        /// appsecret(仅用于高级接口)
        /// </summary>
        public System.String appsecret { get; set; }

        /// <summary>
        /// 是否支持网站内容推送
        /// </summary>
        public System.Int32? is_push { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        public System.Int32? sort_id { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        [Newtonsoft.Json.JsonConverter(typeof(Common.TcDateTimeConverter))]
        public System.DateTime? add_time { get; set; }
    }
}